<template>
    <div class="g-container">
        <div>网址错误或用户没有分配此权限，无法查看！</div>
        <el-button type="primary" class="btn" @click="toHome">返回首页</el-button>
    </div>
</template>
<script>
export default {
    name: 'NotFound',
    methods: {
        toHome() {
            this.$router.push({ path: '/' })
        }
    }
}
</script>
<style lang="scss" scope>
.g-container {
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    .btn{
        margin-top: 30px;
    }
}
</style>

